import java.util.Calendar;

public class 時間練習 {
	public static void main(String[] args) {
		Calendar cal = Calendar.getInstance();
		System.out.println(cal.getClass().getName());
		System.out.println(cal.get(Calendar.DAY_OF_WEEK));
		System.out.println(cal.get(Calendar.HOUR_OF_DAY));
		System.out.println(cal.get(Calendar.MINUTE));
		System.out.println("週日: "+Calendar.SUNDAY);
		System.out.println("週一: "+Calendar.MONDAY);
		System.out.println("週六: "+Calendar.SATURDAY);
	}
}
